<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type">
    <meta charset="utf-8">
    <title>{{$data.title}} - 后台管理</title>
    <link href="{{$smarty.const.APP_URL}}templates/admin/css/admin.css" type="text/css" rel="stylesheet">
    <link href="{{$smarty.const.APP_URL}}templates/admin/js/artDialog/black.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/jquery.cookie.js"></script>
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/artDialog/jquery.artDialog.min.js"></script>
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/admin.js"></script>
    <script type="text/javascript">
        var this_uri = "/user/integral";
    </script>
</head>
<body>

<div id="header">
    <div class="logo"><a href="/"><img src="{{$smarty.const.APP_URL}}templates/admin/images/logo.png" title="后台首页"></a></div>
    <div class="loading"><div id="ajax-loader" title="Ajax数据更新中..."></div></div>
    <div id="topbar">
        <!--顶部菜单 start-->
        {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/topmenu.html"}}
        <!--顶部菜单 end-->
        <!--顶部右侧 start-->
        {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/topuser.html"}}
        <!--顶部右侧 end-->
        <div></div>
    </div>
</div>

<div><!-- 外层添加一个DIV解决IE8下margin-top的问题 -->
    <table id="maintable" cellpadding="0" cellspacing="0">
        <tbody><tr>
            <!--左侧菜单 start-->
            {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/leftmenu.html"}}
            <!--左侧菜单 end-->
            <!--主要TD start-->
            <td class="maintd" valign="top">
                <div class="maindiv">
                    <div id="main">
                        <div class="itemtitle">
                            <h3>积分管理</h3>
                            <ul>
                            </ul>
                        </div>
                        <table class="tb">
                            <tbody>
                            <tr>
                                <td class="tbheader" colspan="38">快速查找用户</td>
                            </tr>
                            <tr>
                                <td class="td" valign="middle" colspan="38">
                                    <center>
                                        <b>
                                            <a href="/index.php/users">[全部用户]</a>
                                            <a title="A开头的用户" href="/index.php/users?key=a">A</a>
                                            <a title="B开头的用户" href="/index.php/users?key=b">B</a>
                                            <a title="C开头的用户" href="/index.php/users?key=c">C</a>
                                            <a title="D开头的用户" href="/index.php/users?key=d">D</a>
                                            <a title="E开头的用户" href="/index.php/users?key=e">E</a>
                                            <a title="F开头的用户" href="/index.php/users?key=f">F</a>
                                            <a title="G开头的用户" href="/index.php/users?key=g">G</a>
                                            <a title="H开头的用户" href="/index.php/users?key=h">H</a>
                                            <a title="I开头的用户" href="/index.php/users?key=i">I</a>
                                            <a title="J开头的用户" href="/index.php/users?key=j">J</a>
                                            <a title="K开头的用户" href="/index.php/users?key=k">K</a>
                                            <a title="L开头的用户" href="/index.php/users?key=l">L</a>
                                            <a title="M开头的用户" href="/index.php/users?key=m">M</a>
                                            <a title="N开头的用户" href="/index.php/users?key=n">N</a>
                                            <a title="O开头的用户" href="/index.php/users?key=o">O</a>
                                            <a title="P开头的用户" href="/index.php/users?key=p">P</a>
                                            <a title="Q开头的用户" href="/index.php/users?key=q">Q</a>
                                            <a title="R开头的用户" href="/index.php/users?key=r">R</a>
                                            <a title="S开头的用户" href="/index.php/users?key=s">S</a>
                                            <a title="T开头的用户" href="/index.php/users?key=t">T</a>
                                            <a title="U开头的用户" href="/index.php/users?key=u">U</a>
                                            <a title="V开头的用户" href="/index.php/users?key=v">V</a>
                                            <a title="W开头的用户" href="/index.php/users?key=w">W</a>
                                            <a title="X开头的用户" href="/index.php/users?key=x">X</a>
                                            <a title="Y开头的用户" href="/index.php/users?key=y">Y</a>
                                            <a title="Z开头的用户" href="/index.php/users?key=z">Z</a>
                                            <a href="/index.php/users?key=Validating">[未激活]</a>
                                            <a href="/index.php/users?key=Neverlogin">[未登陆]</a>
                                            <a href="/index.php/users?key=Other">[中文名]</a>
                                        </b>
                                    </center>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                        <form name="searchusers" action="/index.php/users" method="post">
                            <table class="tb">
                                <tbody>
                                <tr>
                                    <td class="tbheader" colspan="38">搜索用户</td>
                                </tr>
                                <tr>
                                    <td class="td" valign="middle" colspan="38">
                                        <center>
                                            <label>ID, 用户名或昵称:</label>
                                            <input type="text" size="18" name="s">
                                            <input class="cancel" type="submit" value="搜索用户">
                                        </center>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </form>
                        <form name="usersform" action="/index.php/users/updateusers" method="post">
                            <table class="tb">
                                <tbody>
                                <tr>
                                    <td class="tbheader" colspan="38">全部用户列表(1个)</td>
                                </tr>
                                <tr class="tr0">
                                    <td class="td">ID</td>
                                    <td class="td">用户名</td>
                                    <td class="td">昵称</td>
                                    <td class="td">当前积分</td>
                                    <td class="td">编辑</td>
                                </tr>
                                <tr>
                                    <td class="td">1</td>
                                    <td class="td">
                                        <input type="hidden" value="1" name="updateuserids[]">
                                        <a href="/index.php/users/edit?userid=1">admin</a>
                                    </td>
                                    <td class="td">
                                        <a href="/index.php/users/edit?userid=1">系统管理员</a>
                                    </td>
                                    <td class="td">123</td>
                                    <td class="td">
                                        <a href="/product/cat_edit/{{$i.pc_id}}">
                                            <img src="{{$smarty.const.APP_URL}}templates/admin/images/edit.png">
                                        </a>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                            
                        </form>
                        <!--底部信息 start-->
                        {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/sysinfo.html"}}
                        <!--底部信息 end-->
                    </div>
                </div>
            </td>
            <!--主要TD end-->
        </tr>
        </tbody></table>
</div>

<script type="text/javascript">
    jQuery(document).ready(function() {
        //调整高度
        $("#container").height($(window).height()-40);
        $(window).resize(function() {
            $("#container").height($(window).height()-40);
        });

        App.init();//左侧菜单初始化

        var a101 = $("#topbar"); //顶部下接菜单
        a101.find("dl").Jdropdown({delay: 0}, function(a){});

        //全选checkbox
        $("#checkAll").click(function(e){
            $("input[name='" + $(this).attr("for") + "']").attr("checked", this.checked);
        });
    });
</script>
</body>
</html>